option 2: Resource-Oriented Architecture